<template>
    <div class="container">
        <a-button type="primary" @click="handleOpenEditDrawer">
            <Icon icon="PlusOutlined" />
            新增
        </a-button>
    </div>
</template>

<script setup lang="ts">
// Component
import Icon from '@/component/common/Icon.vue';

const emit = defineEmits(['insert']);

const handleOpenEditDrawer = () => {
    emit('insert');
};
</script>

<style lang="less" scoped></style>
